package com.fenqile.pop.enums;

/**
 * 物流状态
 * 
 * @author Coby [cobylin@live.com] 2017
 */
public enum ExpressStatus implements IntValueEnum<ExpressStatus> {
	
	/**
	 * 0, "在途"
	 */
	ON_PASSAGE(0, "在途"),
	
	/**
	 * 1, "揽件"
	 */
	ACCPET(1, "揽件"),
	
	/**
	 * 2, "疑难"
	 */
	PUZZLE(2, "疑难"),
	
	/**
	 * 3, "签收"
	 */
	RECEIVED(3, "签收"),
	
	/**
	 * 4, "退签"
	 */
	RETURN_ACCPET(4, "退签"),
	
	/**
	 * 5, "派件"
	 */
	DISPATCH(5, "派件"),
	
	/**
	 * 6, "退回"
	 */
	RETURN(6, "退回"),
	
	/**
	 * 7, "转投"
	 */
	MOVE(7, "转投"),
	;
	
	private final int intValue;
	private final String name;
	
	private ExpressStatus(int intValue, String name) {
		this.intValue = intValue;
		this.name = name;
	}
	
	@Override
	public String getName() {
		return name;
	}

	@Override
	public int intValue() {
		return intValue;
	}
	
}
